home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows 6-Pak - Disc 1
/
Windows 6-Pak (InfoMagic) (Disc 1) (1999).ISO
/
Gaming-Utilities
/
qssetup.exe
/
qselectv.bat
< prev
Wrap
DOS Batch File
|
1998-04-24
|
1KB
|
68 lines
@echo off
if exist success.tmp del success.tmp
if not exist quake2.exe goto error1
if "%1" == "305" goto 305
if "%1" == "310" goto 310
goto error2
:305
echo Creating backup version...
md 305
md 305\baseq2
rem These are the essential files.
copy quake2.exe 305
copy ref_gl.dll 305
copy ref_soft.dll 305
copy pvrgl.dll 305
copy 3dfxgl.dll 305
copy baseq2\gamex86.dll 305\baseq2
rem These are the additional files, they are not required.
copy license.txt 305
rem xcopy32 baseq2\Players\*.* 305\baseq2 /F /s /r
echo Complete.
goto success
:310
echo Creating backup version...
md 310
md 310\baseq2
rem These are the essential files.
copy quake2.exe 310
copy ref_gl.dll 310
copy ref_soft.dll 310
copy baseq2\gamex86.dll 310\baseq2
rem These are the additional files, they are not required.
copy joystick.txt 310
copy readme.txt 310
rem copy pvrgl.dll 310
rem copy 3dfxgl.dll 310
rem xcopy32 baseq2\Players\*.* 310\baseq2 /F /s /r
echo Complete.
goto success
:error1
echo Error starting backup !!!
echo Program must be located in your Quake dir to run properly.
pause
goto end
:error2
echo Error starting backup !!!
echo This batch file may only be started from the QSelect program.
pause
goto end
:success
copy nul > success.tmp
:end
echo on